﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace gChartSharp
{
    public class MapChart : ChartBase
    {
        public override ChartType ChartType { get { return ChartType.t; } }

        public ColorParam Colors { get; set; }
        public SolidFillParam SolidFill { get; set; }
        
        public MapChart(int width, int height) : base(width, height) { }

        public MapChart(int width, int height, EncodingType encType) : base(width, height, encType) { }

        public MapChart(int width, int height, float[] dataSet) : base(width, height, dataSet) { }

        public MapChart(int width, int height, EncodingType encType, float[] dataSet)
            : base(width, height, encType, dataSet) { }

        public override string GetURL()
        {
            StringBuilder sb = CreateBaseURL();
            RenderIChartParam(this.Colors, ref sb);
            RenderIChartParam(this.SolidFill, ref sb);
            return sb.ToString();
        }


        public override string GetHTML()
        {
            return "";
        }
    }

    public enum GeographicalArea
    {
        africa,
        asia,
        europe,
        middle_east,
        south_america,
        usa,
        world
    }
}
